<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'machineorder-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'ordername'); ?>
		<?php echo $form->textField($model,'ordername',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'ordername'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'projectname'); ?>
		<?php echo $form->textField($model,'projectname',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'projectname'); ?>
	</div>
<!--
	<div class="row">
		<?php echo $form->labelEx($model,'applicant'); ?>
		<?php echo $form->textField($model,'applicant',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'applicant'); ?>
	</div>
-->
	<div class="row">
		<?php echo $form->labelEx($model,'machinelist'); ?>
		<?php echo $form->textField($model,'machinelist',array('size'=>60,'maxlength'=>2000)); ?>
		<?php echo $form->error($model,'machinelist'); ?>
	</div>
<!--
	<div class="row">
		<?php echo $form->labelEx($model,'updatetime'); ?>
		<?php echo $form->textField($model,'updatetime'); ?>
		<?php echo $form->error($model,'updatetime'); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'status'); ?>
		<?php echo $form->textField($model,'status'); ?>
		<?php echo $form->error($model,'status'); ?>
	</div>
-->

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->
